From: Stefan Monnier Date: Mon, 9 Sep 2002 23:14:13 +0000 (+0000) Subject: (syntax-after): Delete. Moved to subr.el. X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1~1^2~30698 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=e994ec45d5d9d31832f427bdda77a1bc02c18cb7;p=emacs.git (syntax-after): Delete. Moved to subr.el. --- diff --git a/lisp/emacs-lisp/syntax.el b/lisp/emacs-lisp/syntax.el index 717ea756b56..89660e48d77 100644 --- a/lisp/emacs-lisp/syntax.el +++ b/lisp/emacs-lisp/syntax.el @@ -282,13 +282,5 @@ Point is at POS when this function returns." ;; (with-current-buffer (or buffer (current-buffer)) ;; (syntax-ppss-depth (syntax-ppss)))) -(defun syntax-after (pos) - "Return the syntax of the char after POS." - (unless (or (< pos (point-min)) (>= pos (point-max))) - (let ((st (if parse-sexp-lookup-properties - (get-char-property pos 'syntax-table)))) - (if (consp st) st - (aref (or st (syntax-table)) (char-after pos)))))) - (provide 'syntax) ;;; syntax.el ends here